﻿{% extends "layout.html" %}
{% block title %}
<title>任务小智</title>
{% endblock %}

{% block style %}

{% endblock %}

{% block li %}
    <li><a href="content.html">内容</a></li>
    <li>作业</li>
{% endblock %}

{% block content %}


    <div class="admin">
				<div class="panel admin-panel">
					<div class="panel-head"><strong>作业内容</strong></div>

					<table class="table table-hover">
                        {% for item in homeNameList%}
						<tr>
							<th colspan="5">{{ forloop.counter }}. {{item.assignment}}</th>
						</tr>
                        {% endfor %}
					</table>

				</div>
			<br />
			<p class="text-right text-gray"><a class="text-gray" target="_blank" href="http://www.pintuer.com"></a></p>
    </div>

{% endblock %}

{% block js %}
    <script>
        $(function () {
            $('#test').addClass('active')
            $('#home').removeClass('active')
        });
    </script>
{% endblock %}
</html>